package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 充电站信息对象 charging_station
 * 
 * @author ruoyi
 * @date 2025-06-27
 */
public class ChargingStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充电站主键ID */
    private Integer csId;

    /** 充电站名称 */
    @Excel(name = "充电站名称")
    private String csName;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String csCity;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String csAddress;

    /** 订单量 */
    @Excel(name = "订单量")
    private Integer csOrderCount;

    /** 联系人 */
    @Excel(name = "联系人")
    private String csContact;

    /** 状态（0禁用 1启用） */
    @Excel(name = "状态", readConverterExp = "0=禁用,1=启用")
    private Integer csStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date csCreateTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date csUpdateTime;

    public void setCsId(Integer csId) 
    {
        this.csId = csId;
    }

    public Integer getCsId() 
    {
        return csId;
    }

    public void setCsName(String csName) 
    {
        this.csName = csName;
    }

    public String getCsName() 
    {
        return csName;
    }

    public void setCsCity(String csCity) 
    {
        this.csCity = csCity;
    }

    public String getCsCity() 
    {
        return csCity;
    }

    public void setCsAddress(String csAddress) 
    {
        this.csAddress = csAddress;
    }

    public String getCsAddress() 
    {
        return csAddress;
    }

    public void setCsOrderCount(Integer csOrderCount) 
    {
        this.csOrderCount = csOrderCount;
    }

    public Integer getCsOrderCount() 
    {
        return csOrderCount;
    }

    public void setCsContact(String csContact) 
    {
        this.csContact = csContact;
    }

    public String getCsContact() 
    {
        return csContact;
    }

    public void setCsStatus(Integer csStatus) 
    {
        this.csStatus = csStatus;
    }

    public Integer getCsStatus() 
    {
        return csStatus;
    }

    public void setCsCreateTime(Date csCreateTime) 
    {
        this.csCreateTime = csCreateTime;
    }

    public Date getCsCreateTime() 
    {
        return csCreateTime;
    }

    public void setCsUpdateTime(Date csUpdateTime) 
    {
        this.csUpdateTime = csUpdateTime;
    }

    public Date getCsUpdateTime() 
    {
        return csUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("csId", getCsId())
            .append("csName", getCsName())
            .append("csCity", getCsCity())
            .append("csAddress", getCsAddress())
            .append("csOrderCount", getCsOrderCount())
            .append("csContact", getCsContact())
            .append("csStatus", getCsStatus())
            .append("csCreateTime", getCsCreateTime())
            .append("csUpdateTime", getCsUpdateTime())
            .toString();
    }
}
